public class Solution {
    public static void main(String[] args) {
        int n =15;
        String resulet="";
        for (int i = 1; i <n ; i++) {
            String s = Integer.toString(i);
            int sum = i;
            for (int j = i+1; j < n; j++) {
                s+="+"+Integer.toString(j);
                if((sum+=j)==n){
                    resulet+=s+" ";
                    break;
                }
            }
        }
        System.out.println(resulet.trim());
    }
}